package com.dongdongshop.service;

import com.dongdongshop.page.PageBeen;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;

import java.math.BigDecimal;
import java.util.List;

public interface GoodsService {
//    int addAllInfo(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, BigDecimal[] arrPrice, Integer[] arrValue, String[] arrTitle);

    PageBeen<TbGoods> selectGoods(String goodsName, Integer pageNum, Integer pageSize);

    int deleteInfoGoods(Long[] ids);

    int update(String auditStatus, Long[] ids);

    int deleteInfoDelete(String isDelete, Long[] ids);

    TbGoods selectGoodsById(Long goodsId);

    int addAllInfo(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, List<TbItem> itemList, String name, String thp1, String thp2);
}
